package cn.ydt.ydt.community.mapper;

import cn.ydt.ydt.community.pojo.dto.EnclosureSingInLocationDTO;
import cn.ydt.ydt.community.pojo.vo.EnclosureSIngInLocationVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author Administrator
 */
@Mapper
public interface EnclosureSingInLocationMapper {
    /**
     *  添加打卡区域
     * @param enclosure
     * @return
     */
    int addEnclosure(EnclosureSingInLocationDTO enclosure);

    /**
     * 通过社区id获得打卡区域信息
     * @param communityId
     * @return
     */
    EnclosureSIngInLocationVO getEnclosureInfoByCommunityId(@Param("communityId") Long communityId);
}
